<!--Copyright 2022 The HuggingFace Team. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
-->

# Dummy Input Generators

It is very common to have to generate dummy inputs to perform a task (tracing, exporting a model to some backend,
testing model outputs, etc). The goal of [`~optimum.utils.input_generators.DummyInputGenerator`] classes is to make this
generation easy and re-usable.


## Base class

[[autodoc]] optimum.utils.input_generators.DummyInputGenerator


## Existing dummy input generators

[[autodoc]] optimum.utils.input_generators.DummyTextInputGenerator

[[autodoc]] optimum.utils.input_generators.DummyDecoderTextInputGenerator

[[autodoc]] optimum.utils.input_generators.DummyPastKeyValuesGenerator

[[autodoc]] optimum.utils.input_generators.DummySeq2SeqPastKeyValuesGenerator

[[autodoc]] optimum.utils.input_generators.DummyBboxInputGenerator

[[autodoc]] optimum.utils.input_generators.DummyVisionInputGenerator

[[autodoc]] optimum.utils.input_generators.DummyAudioInputGenerator
